﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SearchPatientInfo.aspx.cs" Inherits="RegisterWeb.Manager.DoctorPersonalCenter.SearchPatientInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../../js/jquery-easyui-1.2.6/themes/gray/easyui.css" rel="stylesheet"
        type="text/css" />
    <link href="../../js/jquery-easyui-1.2.6/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-easyui-1.2.6/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.2.6/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.2.6/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
     <style type="text/css">
        
	.dv-table td{
		border:0;
	}
	.dv-label{
		font-weight:bold;
		color:#15428B;
		width:150px;
	}
</style>
<script type="text/javascript">
    $(function () {
        $('#dg1').datagrid({
            view: detailview,
            detailFormatter: function (index, row) {
                return '<div id="ddv-' + index + '" style="padding:5px 0"></div>';
            },
            onExpandRow: function (index, row) {

                $('#ddv-' + index).panel
                ({
                    border: false,
                    cache: false,
                    href: 'ShowOutpatientInfo.aspx',
                    onLoad: function () {
                        $('#dg1').datagrid('fixDetailRowHeight', index);
                        $("#Outpatient_MainIntroduce").text(row.Outpatient_MainIntroduce);
                        $("#Outpatient_PastHistory").text(row.Outpatient_PastHistory);
                        $("#Outpatient_MainIntroduce").text(row.Outpatient_MainIntroduce);
                        $("#Outpatient_AddTime").text(row.Outpatient_AddTime);
                    }

                });
                $('#dg1').datagrid('fixDetailRowHeight', index);
            }
        });

    });

</script>
</head>
<body>
    <form id="search" >
    <div region="center" title="条件查询就诊信息" >
<table id="dg1"  class="easyui-datagrid" style="overflow:auto ; height:550px"
			  pagination="true" title="展开以查看更多就诊信息"
            
			rownumbers="true" fitColumns="true" singleSelect="true" 
            pageSize="20"
            >
		<thead>
			<tr>
			    <th idField="Outpatient_ID" width="50"  hidden="true">就诊编号</th>

				<th field="Register_ID" width="50"  hidden="true">挂号编号</th>


           <th field="Outpatient_PaitentName" width="50">患者姓名</th>                  
           <th field="Outpatient_OutpaitentType"  width="50">门诊类型</th>
              
              
				
                 <th field="Outpatient_PaitentSex"  width="20">性别</th>

                 <th field="Outpatient_PaitentBirthDay"  width="50">出生日期</th>

                 <th field="Outpatient_PaitentIDCards"  width="50">身份证号</th>

               
                <!-- <th field="Outpatient_OutpaitentType"  width="50">门诊类型</th>-->

                 <th field="Outpatient_IsClinic"  width="50"> 是否就诊</th>
                 <th field="Outpatient_ShowHistory" width="50"  hidden="true">现病史</th>
                   <th field="Outpatient_PastHistory" width="50"  hidden="true">既往史</th>
                    <th field="Outpatient_MainIntroduce" width="50"  hidden="true">主诉</th>
                    <th field="Outpatient_Recoder" width="50"  hidden="true">记录人</th>
                   <th field="Outpatient_AddTime" width="50"  hidden="true">记录时间</th>
			</tr>
		</thead>
	</table>          
    </div>
    </form>
</body>
</html>

